package com.zzedu.stu.req;

import com.zzedu.common.enums.LoginType;
import jakarta.validation.constraints.NotBlank;

/**
 * 登录
 */
public class Login {
    /**
     * 用户名
     */
    @NotBlank(message = "用户名不能为空")
    private String userName;

    /**
     * 用户密码
     */
    @NotBlank(message = "用户密码不能为空")
    private String passWord;

    /**
     * 密码类型
     */
    private LoginType pwdType;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public LoginType getPwdType() {
        return pwdType;
    }

    public void setPwdType(LoginType pwdType) {
        this.pwdType = pwdType;
    }
}
